<template>
    <div>
    <slot message="hello 默认插槽"></slot>
    <hr />
    <slot message="hello vue.js" name="header"></slot>
    <hr />
    <slot :user="user" name="content"></slot>
    </div>
    </template>


    <script setup>
    import { reactive } from "vue";

    const user = reactive({name:"xiaoying", age:"15"});
    </script>
    <style lang="scss" scoped></style>
    